﻿using AuthCenter.ErrorCode;
using MediatR;

namespace AuthCenter.API.Application.Command.Account
{
    public class CreateAccountCommand:IRequest<APIResult<int>>
    {
        public string LoginName { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public long Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex { get; set; }
        /// <summary>
        /// 所在省份
        /// </summary>
        public int Provinces { get; set; }
        /// <summary>
        /// 所在市
        /// </summary>
        public int City { get; set; }
        /// <summary>
        /// 所在县
        /// </summary>
        public int Xian { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Fulladdress { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int Department { get; set; }
    }
}
